package net.yongjinman.app.android;

import net.yongjinman.app.android.util.PrintLog;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;

/**
 * An example full-screen activity that shows and hides the system UI (i.e.
 * status bar and navigation/system bar) with user interaction.
 * 
 * @see SystemUiHider
 */
public class InputDispatchActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		PrintLog.printInput("V", 4, "onCreate");

		setContentView(R.layout.activity_input_dispatch);
	}

	@Override
	protected void onPostCreate(Bundle savedInstanceState) {
		super.onPostCreate(savedInstanceState);
		PrintLog.printInput("V", 4, "onPostCreate");
	}

	@Override
	public boolean dispatchTouchEvent(MotionEvent ev) {
		boolean retValue = false;
		retValue = super.dispatchTouchEvent(ev);
		PrintLog.printInput("V", 4, "dispatchTouchEvent [retValue="+retValue+"]");
		return retValue;
	}
}
